package team.tunan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 产品表	
 * </p>
 *
 * @author sqx
 * @since 2023-12-24
 */
@Getter
@Setter
public class Stock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品Id
     */
    @TableId(value = "stock_id", type = IdType.AUTO)
    private Integer stockId;

    /**
     * 名称
     */
    private String stockName;

    /**
     * 描述
     */
    private String description;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private Integer number;


}
